﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Openapi.Weibo
{
    /// <summary>
    /// 授权认证返回类型
    /// </summary>
    public enum ResponseType
    {
        /// <summary>
        /// Code
        /// </summary>
        Code,
        /// <summary>
        /// Access Token
        /// </summary>
        Token
    }

    /// <summary>
    /// 回调返回类型
    /// </summary>
    public enum DisplayDevice 
    {
        /// <summary>
        /// 默认
        /// </summary>
        Default,
        /// <summary>
        /// 移动界面
        /// </summary>
        Mobile,
        /// <summary>
        /// 弹出窗
        /// </summary>
        Popup,
        /// <summary>
        /// Wap12
        /// </summary>
        Wap12,
        /// <summary>
        /// Wap20
        /// </summary>
        Wap20,
        /// <summary>
        /// Javascript
        /// </summary>
        JS,
        /// <summary>
        /// 刷新框架
        /// </summary>
        ApponWeibo
    }

    public enum GrantType
    {
        AuthorizationCode,
        Password,
        RefreshToken
    }

    public enum HttpMethod
    {
        GET,
        POST
    }
    /// <summary>
    /// 重置微博技术类型
    /// </summary>
    public enum ResetCountType
    {
        /// <summary>
        /// 新微博数
        /// </summary>
        status,
        /// <summary>
        /// 新粉丝数
        /// </summary>
        follower,
        /// <summary>
        /// 新评论数
        /// </summary>
        cmt,
        /// <summary>
        /// 新私信数
        /// </summary>
        dm,
        /// <summary>
        /// 新提及我的微博数
        /// </summary>
        mention_status,
        /// <summary>
        /// 新提及我的评论数
        /// </summary>
        mention_cmt
    }

    /// <summary>
    /// 转发评论类型
    /// </summary>
    public enum RepostCommentType
    {
        /// <summary>
        /// 无评论
        /// </summary>
        NoComment,
        /// <summary>
        /// 当前
        /// </summary>
        Current,
        /// <summary>
        /// 原文转发
        /// </summary>
        Orign,
        /// <summary>
        /// 都有
        /// </summary>
        Both
    }

    /// <summary>
    /// 性别类型
    /// </summary>
    public enum GenderType
    {
        /// <summary>
        /// 男
        /// </summary>
        Male,
        /// <summary>
        /// 女
        /// </summary>
        Female,
        /// <summary>
        /// 不男不女
        /// </summary>
        Unknown
    }
    /// <summary>
    /// 热门微博类型
    /// </summary>
    public enum HotUserCatagory
    {
        /// <summary>
        /// 人气关注
        /// </summary>
        @default,
        /// <summary>
        /// 影视明星
        /// </summary>
        ent,
        /// <summary>
        /// 港台名人
        /// </summary>
        hk_famous,
        /// <summary>
        /// 模特
        /// </summary>
        model,
        /// <summary>
        /// 美食与健康
        /// </summary>
        cooking,
        /// <summary>
        /// 体育名人
        /// </summary>
        sport,
        /// <summary>
        /// 商界名人
        /// </summary>
        finance,
        /// <summary>
        /// IT互联网
        /// </summary>
        tech,
        /// <summary>
        /// 歌手
        /// </summary>
        singer,
        /// <summary>
        /// 作家
        /// </summary>
        writer,
        /// <summary>
        /// 主持人
        /// </summary>
        moderator,
        /// <summary>
        /// 媒体总编
        /// </summary>
        medium,
        /// <summary>
        /// 炒股高手
        /// </summary>
        stockplayer
    }
    /// <summary>
    /// 表情类型
    /// </summary>
    public enum EmotionType
    {
        /// <summary>
        /// 普通表情
        /// </summary>
        face,
        /// <summary>
        /// 魔法表情
        /// </summary>
        ani,
        /// <summary>
        /// 动漫表情
        /// </summary>
        cartoon
    }
    /// <summary>
    /// 语言类型
    /// </summary>
    public enum LanguageType
    {
        /// <summary>
        /// 简体
        /// </summary>
        cnname,
        /// <summary>
        /// 繁体
        /// </summary>
        twname
    }
    /// <summary>
    /// Token验证返回值
    /// </summary>
    public enum TokenResult
    {
        /// <summary>
        /// 正常
        /// </summary>
        Success,
        /// <summary>
        /// Token已过期
        /// </summary>
        TokenExpired,
        /// <summary>
        /// Token已被占用
        /// </summary>
        TokenUsed,
        /// <summary>
        /// Token已被回收
        /// </summary>
        TokenRevoked,
        /// <summary>
        /// Token被拒绝
        /// </summary>
        TokenRejected,
        /// <summary>
        /// 其他问题
        /// </summary>
        Other
    }

    /// <summary>
    /// 返回的数据格式
    /// </summary>
    public enum DataFormat
    {
        Json,
        Xml
    }
}
